package com.youshang520i.demo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;
//import com.youshang520i.demo.exclude.*;
import org.springframework.context.annotation.PropertySource;
//import com.youshang520i.demo.exclude.*;

/**
 * @author youshang
 */
//@Import({MyConfig2.class, MyConfig3.class})
//@ComponentScan(basePackages = {"com.youshang520i"})
@MapperScan(value = {"com.youshang520i.demo.mapper"})
//@PropertySource(value = "classpath:/application.properties")
@SpringBootApplication
public class DemoApplication {


    //@Value("${server.port}")
    //private static String port;

    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
    }

}
